﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class Controls_UC_Menu_Ngang : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["username"].ToString() != "")
        {
           lbluser.Text = "" + Session["username"];
           HyperLink2.Visible = true;
           HyperLink3.Visible = true;
           HyperLink4.Visible = true;
           HyperLink5.Visible = true;
           Label1.Visible = true;
        }
        else
        {
            lbluser.Text = "";
            HyperLink2.Visible = false;
            HyperLink3.Visible = false;
            HyperLink4.Visible = false;
            HyperLink5.Visible = false;
            Label1.Visible = false;
        }
    }
}
